home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / set_light < prev    next >
Text File  |  2001-04-06  |  658b  |  19 lines

  1. OPTIONAL
  2. SYNOPSIS
  3.         int set_light(int n)
  4.  
  5. DESCRIPTION
  6.         An object is by default dark. It can be set to not dark by
  7.         calling set_light(1). The environment will then also get this
  8.         light. The returned value is the total number of lights in
  9.         this room. So if you call set_light(0) it will return the
  10.         light level of the current object.
  11.         
  12.         Note that the value of the argument is added to the light of
  13.         the current object.
  14.  
  15. BUGS
  16.         This handling of light by the parser is inappropriate for most
  17.         purposes: If you put a burning candle into a safe, the safe
  18.         will start to emit light.
  19.